package com.yx.common.core.constant;

public class TreeConstant {

    /**
     * 菜单模块
     */
    public static final String MENU_PRIMARY_KEY =  "id";
    public static final String MENU_PARENT_KEY =  "pid";
    public static final String MENU_CHILDREN_KEY =  "child";
    public static final int MENU_ROOT_NODE = 0;
    public static final String MENU_SORT = "sort";

    /**
     * 部门模块
     */
    public static final String DEPT_PRIMARY_KEY =  "id";
    public static final String DEPT_PARENT_KEY =  "pid";
    public static final String DEPT_CHILDREN_KEY =  "child";
    public static final int DEPT_ROOT_NODE = 0;
    public static final String DEPT_SORT = null;

}
